package net.dgg.dggcloud.service.jrcrm.entity.pro;

import net.dgg.dggcloud.service.entity.BaseEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * Created by Administrator on 2017/11/3.
 */
@Entity
@Table(name="pro_product_condition")
public class ProductCondition extends BaseEntity {

    /**
     * 进件方式
     */
    @Column(length = 20,nullable = true)
    private String mode;
    /**
     * 资产要求
     */
    @Column(length = 254,nullable = true)
    private String asset;

    /**
     * 资产准入条件
     */
    @Column(name="asset_detail",length = 254,nullable = true)
    private String assetDetail;

    /**
     * 所需资料
     */
    @Column(name="need_data",length = 500,nullable = true)
    private String needData;

    /**
     * 产品ID
     */
    @Column(name="product_id",length = 20)
    private Long productId;

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public String getMode() {
        return mode;
    }

    public void setMode(String mode) {
        this.mode = mode;
    }

    public String getAsset() {
        return asset;
    }

    public void setAsset(String asset) {
        this.asset = asset;
    }

    public String getAssetDetail() {
        return assetDetail;
    }

    public void setAssetDetail(String assetDetail) {
        this.assetDetail = assetDetail;
    }

    public String getNeedData() {
        return needData;
    }

    public void setNeedData(String needData) {
        this.needData = needData;
    }
}
